package priv.yiyuan.example.design.facade;

/**
 * 通知服务
 * <p>
 * 外观模式-子系统类
 *
 * @author YiYuan
 * @data 2025/9/12
 * @apoNote
 */
public class NotificationService {

    public void sendOrderConfirmation(String orderId, String userEmail) {
        System.out.println("通知服务: 已向 " + userEmail + " 发送订单 " + orderId + " 的确认通知。");
    }

    public void sendPaymentFailedNotification(String orderId, String userEmail) {
        System.out.println("通知服务: 已向 " + userEmail + " 发送订单 " + orderId + " 支付失败通知。");
    }

}
